package cn.rulian.base.auth.pojo;

import lombok.Getter;
import lombok.Setter;

/**
 * 业务系统（支持多系统并存）
 */
@Getter
@Setter

public class Sys
{
	private String code; //系统唯一编码
	
	private String name; //系统名称
	
	private String sortName; //系统简称
	
	private String loginCode; //登录界面编号
	
	private String themeCode; //皮肤编码
	
	private boolean enabled; //是否可用

	public Sys() {}

	public Sys(String code, String name, String sortName, Login login, Theme theme, boolean enabled) {
		this.code = code;
		this.name = name;
		this.sortName = sortName;
		this.loginCode = login.getCode();
		this.themeCode = theme.getCode();
		this.enabled = enabled;
	}	
}
